#include "FON_Student_t.h"
#include <iostream>
using namespace std;

FON_Student_t::FON_Student_t(const std::string &name, const std::string &faculty):StudentImp(name,faculty){}

FON_Student_t::~FON_Student_t(){}

void FON_Student_t::Update(Subject *subject, EVENT e){
	if(subject == this->sbj){
		if(subject == this->sbj){		
			cout << this->studentName.c_str() << " was updated" << endl;
			if(e == EVENT_ALL) 
					cout << " general message" << endl;
			if(e == EVENT_FOH)
					cout << " FOH faculty message" << endl;
		}
	}
}